#include"LightClass.h"

LightClass::LightClass()
{

}

LightClass::LightClass(const LightClass&other)
{

}

LightClass::~LightClass()
{

}


//---------------GET----------------------------
XMVECTOR LightClass::GetDiffuseColor()
{
	return XMLoadFloat4(&mDiffuseColor);
}



XMVECTOR LightClass::GetLightDirection()
{
	return XMLoadFloat3(&mLightDiretion);
}

XMVECTOR LightClass::GetAmbientColor()
{
	return XMLoadFloat4(&mAmbientColor);
}


XMVECTOR LightClass::GetSpecularColor()
{
	return XMLoadFloat4(&mSpecularColor);
}

float LightClass::GetSpecularPow()
{
	return mSpecularPow;
}




//-----------------Set--------------------------

void LightClass::SetDiffuseColor(FXMVECTOR diffuseColor)
{
	XMStoreFloat4(&mDiffuseColor, diffuseColor);
}



void LightClass::SetLightDirection(FXMVECTOR lightDirection)
{
	XMStoreFloat3(&mLightDiretion, lightDirection);
}

void LightClass::SetAmbientColor(FXMVECTOR ambientColor)
{
	XMStoreFloat4(&mAmbientColor, ambientColor);
}

void LightClass::SetSpecularColor(FXMVECTOR specularColor)
{
	XMStoreFloat4(&mSpecularColor, specularColor);
}


void LightClass::SetSpecularPow(float pow)
{
	mSpecularPow = pow;
}
